// 所有关于视频模块的接口
import request from '../utils/request'

export const uploadVideo=(data)=>{
  return request("/VueHandler/UpLoadVideoHandler","post",data,"mul")
}
export const addVideoApi=(data)=>{
  return request("/VueHandler/VideoHandler?action=add","post",data)
}
export const VideoListApi=(data)=>{
  return request("/VueHandler/VideoHandler?action=showlist","post",data)
}
export const delVideoApi=(ID)=>{
  return request("/VueHandler/VideoHandler?action=delete","get",{ID:ID})
}
// 编辑视频接口
export const editVideoApi=(data)=>{
  return request("/VueHandler/VideoHandler?action=update","post",data)
}
